rtos-trace
Set of traits used to trace RTOS internals.
Features
trace_impl
: Activates tracing function (on by default). Can be used by the RTOS to deactivate tracing.
Implementation
The backend is required implement RtosTrace
.
Existing implementation:
Usage
RTOS
The RTOS can implement RtosTraceOSCallbacks
to provide additional
information upon request from the tracing software. For example:
!
global_os_callbacks
Usage for the RTOS maintainer is simple:
use
Application
Similar to a global logger the user must provide a tracing backend, i.e.:
use systemview_target::SystemView;
rtos_trace::global_trace!{SystemView}
The user can implement [RtosTraceApplicationCallbacks
] to provide
additional information upon request from the tracing software. For example:
;
global_application_callbacks!